<?php

namespace app\admin\dao;

use ShidianUtil\Thinkphp\Dao\DaoTrait;
use app\common\model\AxbRecord;

/**
 * AxbRecordDao 数据访问对象
 * Class AxbRecordDao
 * @package app\admin\dao
 * @method AxbRecord findByPK(?int $id, $field = true)
 * @method \think\Collection selectAll(?int $page, ?int $page_size, $field = true)
 * @method AxbRecord insertActive(array $params, array $allow_field = [])
 * @method AxbRecord updateActive(AxbRecord $model, array $params, array $allow_field = [])
 * @method AxbRecord findAndUpdateActive(int $id, array $params, array $allow_field = [])
 * @method AxbRecord updateActiveByClosure(\Closure $closure, array $params, array $allow_field = [])
 * @method void deleteModel(AxbRecord $model)
 * @method void deleteById(int|array|\Closure $id, bool $force = false)
 * @link https://www.kancloud.cn/manual/thinkphp6_0/1037579
 * @link https://www.kancloud.cn/manual/think-orm/1257998
 * @link https://www.kancloud.cn/thinkphp/master-database-and-model/265551
 */
class AxbRecordDao
{
    use DaoTrait;

    /**
     * @var AxbRecord
     */
    private $baseModel;

    /**
     * AxbRecordDao constructor.
     */
    public function __construct()
    {
        $this->baseModel = AxbRecord::class;
    }
}
